
		**********************************************************
		** File: EBA ldest 31-45.do								**
		** Paper: Human Trafficking Indicators: A New Dataset	**
		** Author: Richard Frank								**
		** Date: July 11, 2021									**
		** Task: Running 3rd series of labor dest EBA models	**
 		**********************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				 cd "C:\Users\Administrator\Desktop\"
				use "HT EBA merged DV and IVs.dta"

  
***************
 ** 31. lp_muslim80 **
 ***************
		
		probit F.ldest /**/  lp_muslim80 /**/
		regsave using /**/ eba_ldest_31 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 	/*1-5 */	///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	/*6-10 */	///
		 europe execleft execright fdi food      				/*11-15 */	///
		 homicides infant KOFSoGI language legal_british    	/*16-20 */	///
		 legal_french legal_german legal_scan literacy      	/*21-24 */	///
		 lp_catho80 lp_protmg80 media mena migration   			/*25-29 */	///
		 mortality_under5 /**/  oecd peacekeepersfl peacekeepersl	/*30-34 */ ///
		 polity2 pop prevent prostitutionlaw protect 				/*35-39 */	///
		 pve refugees religion rle sasia 					/*40-44 */		///
		 ssa tourism trade unemployment urban 				/*45-49 */		///
		 vae visa wecon  english 						/*50-53 */			///
		 french german spanish portuguese landlocked 		/*54-58 */		///	
				, max(3) min(3)  kronecker  cond(!(20&21&23) !(20&21&22))
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ lp_muslim80 /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_31 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																					***************
 ** 32. oecd **
 ***************
		
		probit F.ldest /**/  oecd /**/
		regsave using /**/ eba_ldest_32 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 /**/    peacekeepersfl peacekeepersl	///
		 polity2 pop prevent prostitutionlaw protect 				///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ oecd /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_32 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																										
***************
 ** 33. peacekeepersfl **
 ***************
		
		probit F.ldest /**/ peacekeepersfl  /**/
		regsave using /**/ eba_ldest_33 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd /**/     peacekeepersl				///
		 polity2 pop prevent prostitutionlaw protect 				///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ peacekeepersfl /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_33 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																										
***************
 ** 34. peacekeepersl **
 ***************
		
		probit F.ldest /**/ peacekeepersl  /**/
		regsave using /**/ eba_ldest_34 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl /**/     			///
		 polity2 pop prevent prostitutionlaw protect 				///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ peacekeepersl /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_34 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																										
								
***************
 ** 35. polity2 **
 ***************
		
		probit F.ldest /**/ polity2  /**/
		regsave using /**/ eba_ldest_35 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 /**/  pop prevent prostitutionlaw protect 					///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ polity2 /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_35 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																																				 		
***************
 ** 36. pop **
 ***************
		
		probit F.ldest /**/ pop  /**/
		regsave using /**/ eba_ldest_36 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 /**/   prevent prostitutionlaw protect 					///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ pop /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_36 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																																								
***************
 ** 37. prevent **
 ***************
		
		probit F.ldest /**/  prevent /**/
		regsave using /**/ eba_ldest_37 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop /**/    prostitutionlaw protect 					///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ prevent /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_37 /**/, tstat pval ci autoid append detail(all) 	
						}							 					
																																																								
***************
 ** 38. prostitutionlaw **
 ***************
		
		probit F.ldest /**/ prostitutionlaw  /**/
		regsave using /**/ eba_ldest_38 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent /**/     protect 					///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ prostitutionlaw /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_38 /**/, tstat pval ci autoid append detail(all) 	
						}		


***************
 ** 39. protect **
 ***************
		
		probit F.ldest /**/ protect  /**/
		regsave using /**/ eba_ldest_39 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw /**/      				///
		 pve refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ protect /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_39 /**/, tstat pval ci autoid append detail(all) 	
						}		



***************
 ** 40. pve **
 ***************
		
		probit F.ldest /**/  pve /**/
		regsave using /**/ eba_ldest_40 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 /**/   refugees religion rle sasia 						///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ pve /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_40 /**/, tstat pval ci autoid append detail(all) 	
						}		



***************
 ** 41. refugees **
 ***************
		
		probit F.ldest /**/ refugees  /**/
		regsave using /**/ eba_ldest_41 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve /**/    religion rle sasia 							///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ refugees /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_41 /**/, tstat pval ci autoid append detail(all) 	
						}		

***************
 ** 42. religion **
 ***************
		
		probit F.ldest /**/  religion /**/
		regsave using /**/ eba_ldest_42 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees /**/     rle sasia 							///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ religion /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_42 /**/, tstat pval ci autoid append detail(all) 	
						}		

***************
 ** 43. rle **
 ***************
		
		probit F.ldest /**/ rle  /**/
		regsave using /**/ eba_ldest_43 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion /**/      sasia 					///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ rle /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_43 /**/, tstat pval ci autoid append detail(all) 	
						}		

**************
 ** 44. sasia **
 ***************
		
		probit F.ldest /**/ sasia  /**/
		regsave using /**/ eba_ldest_44 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle /**/       					///
		 ssa tourism trade unemployment urban 					///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ sasia /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_44 /**/, tstat pval ci autoid append detail(all) 	
						}		

**************
 ** 45. ssa **
 ***************
		
		probit F.ldest /**/ ssa  /**/
		regsave using /**/ eba_ldest_45 /**/, replace
		
		tuples 																///
		  agr america_l america_n conflict_ext conflict_int 		///
		 cpi easia_pacific energyuse ethnic_tension ethnic  	///
		 europe execleft execright fdi food      				///
		 homicides infant KOFSoGI language legal_british    	///
		 legal_french legal_german legal_scan literacy      	///
		 lp_catho80 lp_protmg80 media mena migration   			///
		 mortality_under5 lp_muslim80 oecd peacekeepersfl peacekeepersl 	///
		 polity2 pop prevent prostitutionlaw protect     			///
		 pve refugees religion rle sasia       					///
		 /**/   tourism trade unemployment urban 				///
		 vae visa wecon  english 							///
		 french german spanish portuguese landlocked 						///	
				, max(3) min(3)  kronecker
		
		forvalues i = 1/`ntuples'   {
		 probit F.ldest /**/ ssa /**/ `tuple`i'' gdppcl, robust cluster(ccode) 
		regsave using /**/ eba_ldest_45 /**/, tstat pval ci autoid append detail(all) 	
						}		



 		
								
